package com.entity;

import java.util.ArrayList;
import java.util.HashSet;
import java.util.Set;

public class Teacher {
   private String name;
   private int id;
   private int phone;
   private String email;
   private String address;
   private Set<Students> students = new HashSet<>();
public String getName() {
	return name;
}
public void setName(String name) {
	this.name = name;
}
public int getId() {
	return id;
}
public void setId(int id) {
	this.id = id;
}
public int getPhone() {
	return phone;
}
public void setPhone(int phone) {
	this.phone = phone;
}
public String getEmail() {
	return email;
}
public void setEmail(String email) {
	this.email = email;
}
public String getAddress() {
	return address;
}
public void setAddress(String address) {
	this.address = address;
}
public Set<Students> getStudents() {
	return students;
}
public void setStudents(Set<Students> students) {
	this.students = students;
}

}
